import unittest

from TestCase import testcase_sun
from TestCase import Stu_Management_pzy



class Run_Suite():
    def run_suite(self):
        suite = unittest.TestSuite()
        caselist = unittest.TestLoader().loadTestsFromModule(Stu_Management_pzy)
        suite.addTests(caselist)
        # unittest.TestResult()--运行结果实例化一个对象r
        r = unittest.TestResult()
        # suite执行r的结果
        suite.run(result=r)
